package com.qf.pojo.req;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.List;

@Data
@Api(value = "角色权限关系请求类")
public class TbRolePermissionReq implements Serializable {
    private static final long serialVersionUID = 217558577056727435L;
    @ApiModelProperty(value = "角色权限编号")
    private Integer id;
    @ApiModelProperty(value = "角色编号")
    private Integer roleid;
    @ApiModelProperty(value = "权限编号")
    private Integer perid;
    @ApiModelProperty(value = "权限编号列表")
    //一对多
    private List<Integer>permissionList;


}

